#include "OperandParameter.h"

namespace czj {
namespace util {

OperandParameter::OperandParameter(const char *_describe, const char *_hint)
		: Parameter(_describe), null_(true), hint_(_hint) {
}

OperandParameter::~OperandParameter() {
}

Parameter::Type OperandParameter::getType() const {
	return OPERAND;
}

bool OperandParameter::isNull() const {
	return null_;
}

const std::string &OperandParameter::getHint() const {
	return hint_;
}

const std::string &OperandParameter::getValue() const {
	return value_;
}

void OperandParameter::setValue(const char *_value) {
	null_ = false;
	value_ = _value;
}

} // util
} // czj
